package cn.com.zcode.auth.service;

import java.util.List;

import cn.com.zcode.auth.model.Resource;
import cn.com.zcode.auth.model.UserRole;
import cn.com.zcode.core.service.BaseService;

public interface AuthService extends BaseService {


	public List<Resource> findAllResource();

	public List<UserRole> findRoles(String username);


	public Resource saveResource(Resource resource);

	public UserRole saveRole(UserRole role);

}
